package com.xhu.service;

import com.xhu.bean.pojo.SalesPlan;
import com.xhu.utils.ResultData;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface SpService {
    List<SalesPlan> findAll();

    public ResultData list(HttpServletRequest request);

    boolean add(SalesPlan salesPlan);

    List<SalesPlan> queryPage(Integer page, Integer limit);

    boolean subm(String saleplan_id);


    boolean upData(SalesPlan salesPlan, String saleplan_id);

    boolean del(String saleplan_id);

    List<SalesPlan> queryPage(Integer page, Integer limit, String search_name);
}
